package org.example.mapper;

import org.apache.ibatis.annotations.Param;
import org.example.domain.user.LoginDTO;
import org.example.domain.user.Users;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* @author HUAWEI
* @description 针对表【users(用户表)】的数据库操作Mapper
* @createDate 2025-01-04 10:32:32
* @Entity generator.domain.Users
*/
public interface UsersMapper extends BaseMapper<Users> {

    Users findByUsername(@Param("username") String username);

    void register(LoginDTO loginDTO);
}




